//
//  NSBundle+XMBundle.m
//  MJExtension
//
//  Created by X-MEN on 2020/8/14.
//

#import "NSBundle+XMBundle.h"
#import "XMGetBundleClass.h"

@implementation NSBundle (XMBundle)

+ (NSBundle *)xmGetBundle {
    NSString *bundlePath = [[NSBundle bundleForClass:[XMGetBundleClass class]] pathForResource:@"XMPrivatelyLib" ofType:@"bundle"];
    NSBundle *bundle = [NSBundle bundleWithPath:bundlePath];
    return bundle;
}

+ (NSString *)xmGetBundlePath {
    return [[NSBundle bundleForClass:[XMGetBundleClass class]] pathForResource:@"XMPrivatelyLib" ofType:@"bundle"];
}
@end
